<%@ page import="model.User" %>
<%@ page import="java.util.ArrayList" %>
<%@ page import="java.util.List" %><%--
  Created by IntelliJ IDEA.
  User: 82305
  Date: 2021/4/6
  Time: 21:04
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<link rel="stylesheet" href="css/bootstrap.min.css">
<body>

<table class="table table-hover" style="margin:auto; width: 80%;">

    <tr>
        <td>学号</td>
        <td>名字</td>
        <td>性别</td>
        <td>生日</td>
        <td>邮箱</td>
        <td>备注</td>
    </tr>
    <%

        User user = (User) request.getSession().getAttribute("select");


    %>
    <% if(user!=null){
    %>
    <tr>
        <td><%= user.getId()%></td>
        <td><%= user.getName()%></td>
        <td><%= user.getSex()%></td>
        <td><%= user.getBirth()%></td>
        <td><%= user.getEmail()%></td>
        <td><%= user.getContent()%></td>
    </tr>
    <% } %>
</table>
</div>
<a href="main.jsp" style="position: absolute;left: 130px;">返回</a>

<script src="js/bootstrap.min.js"></script>
<script src="js/jquery-3.3.1.min.js"></script>
</body>
</html>
